package com.yytek.common.client;

import com.yytek.common.client.base.IMqClient;
import com.yytek.common.client.base.MqConfig;
import com.yytek.common.client.mqtt.PahoMqttClient;



public class MqClientFactory {
	private static MqClientFactory  instance=new MqClientFactory();
	public static  MqClientFactory getInstance()
	{
		return instance;
	}
	
	public IMqClient createMQTTClient(MqConfig config)
	{
		return new PahoMqttClient(config);
	}
}
